import request from '@/utiles/request'
// 获取运单分页数据
export function getWaybillPage (data) {
  return request({
    url: '/transport-order-manager/page',
    method: 'POST',
    data
  })
}
// 获取运单详情
export function getWaybillDetail (id) {
  return request({
    url: `/transport-order-manager/${id}/`,
    method: 'GET',
    params: { id }
  })
}
// 统计运单数量
export function getWaybillCount (data) {
  return request({
    url: '/transport-order-manager/count',
    method: 'GET',
    data
  })
}
